<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Grupo12daturma2MIEIC4: Referência à classe GraphViewer</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Gerado por Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Localizar');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Grupo12daturma2MIEIC4&#160;<span id="projectnumber">1.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Página&#160;principal</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Ficheiros</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Localizar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Lista&#160;de&#160;componentes</span></a></li>
      <li><a href="classes.html"><span>Índice&#160;dos&#160;componentes</span></a></li>
      <li><a href="functions.html"><span>Componentes&#160;membro</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_graph_viewer.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Membros públicos</a> &#124;
<a href="#pri-attribs">Atributos Privados</a>  </div>
  <div class="headertitle">
<div class="title">Referência à classe GraphViewer</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="GraphViewer" -->
<p>Código utilizado pelo <a class="el" href="class_graph_viewer.html" title="Código utilizado pelo GraphViewer.">GraphViewer</a>.  
 <a href="class_graph_viewer.html#details">Mais...</a></p>

<p><code>#include &lt;<a class="el" href="graphviewer_8h_source.html">graphviewer.h</a>&gt;</code></p>

<p><a href="class_graph_viewer-members.html">Mostrar lista completa dos membros</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Membros públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a1298df6c55ca961f9a5ab578a8c0a18c">GraphViewer</a> (int, int, bool)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Código utilizado pelo <a class="el" href="class_graph_viewer.html" title="Código utilizado pelo GraphViewer.">GraphViewer</a>.  <a href="#a1298df6c55ca961f9a5ab578a8c0a18c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#ae5247dc66449dcd21fc5d531bbbaddfa">createWindow</a> (int <a class="el" href="class_graph_viewer.html#a5de27a1d20968b8494cd4bf5a4eb27e1">width</a>, int <a class="el" href="class_graph_viewer.html#a9a1000e492a66ac4301c7135275690da">height</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a85990c1eaac7feed3950960d4bd2fd4c">closeWindow</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a5421e86ac76433876309236ba96e70a2">addNode</a> (int id, int x, int y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#ab9be856eb5f45284719a3bb119ec01ea">addNode</a> (int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#aad0c1448c37f744209ffb671f1bd0015">addEdge</a> (int id, int v1, int v2, int edgeType)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a0c418639bb911eb827cabf895915f775">removeNode</a> (int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a9a8ee68c7c12b373affbe4069dd95d72">removeEdge</a> (int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#ac25d7d007022fda16799808ba136e909">setVertexLabel</a> (int id, string label)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a447cca0064e785654c2105602c2961ca">setEdgeLabel</a> (int id, string label)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a07ccc96707efae4aa5f3ced3dca015af">setEdgeColor</a> (int id, string color)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a07f598272fe3515455eab13be749604a">setEdgeThickness</a> (int id, int thickness)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a8b542d7e09e81a45a74760c19233beb0">setVertexColor</a> (int id, string color)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a4102580b69826ba83251ef7bb262f8be">defineEdgeColor</a> (string color)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a76de8676b7a93d72af514b84cdaa4d21">defineVertexColor</a> (string color)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a02437b5fecd8b90de24436068312d593">setBackground</a> (string path)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a3009a66958686ccb7e78b68e37c3c423">rearrange</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Atributos Privados</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a5de27a1d20968b8494cd4bf5a4eb27e1">width</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a9a1000e492a66ac4301c7135275690da">height</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a9d9947154bc63354c6d02a0680aad952">isDynamic</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_connection.html">Connection</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_viewer.html#a14a206f78c242e739e0908b06070ba4d">con</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Descrição detalhada</h2>
<div class="textblock"><p>Código utilizado pelo <a class="el" href="class_graph_viewer.html" title="Código utilizado pelo GraphViewer.">GraphViewer</a>. </p>
<p>Não sofreu alterações relativamente à versão fornecida na pagina da disciplina. Versão 1.04 </p>

<p>Definido na linha <a class="el" href="graphviewer_8h_source.html#l00024">24</a> do ficheiro <a class="el" href="graphviewer_8h_source.html">graphviewer.h</a>.</p>
</div><hr/><h2>Documentação dos Construtores &amp; Destrutor</h2>
<a class="anchor" id="a1298df6c55ca961f9a5ab578a8c0a18c"></a><!-- doxytag: member="GraphViewer::GraphViewer" ref="a1298df6c55ca961f9a5ab578a8c0a18c" args="(int, int, bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GraphViewer::GraphViewer </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>dynamic</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Código utilizado pelo <a class="el" href="class_graph_viewer.html" title="Código utilizado pelo GraphViewer.">GraphViewer</a>. </p>
<p>Não sofreu alterações relativamente à versão fornecida na pagina da disciplina. Versão 1.04 </p>

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00013">13</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a>, <a class="el" href="graphviewer_8h_source.html#l00057">height</a>, <a class="el" href="graphviewer_8h_source.html#l00058">isDynamic</a>, <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a> e <a class="el" href="graphviewer_8h_source.html#l00057">width</a>.</p>

</div>
</div>
<hr/><h2>Documentação dos métodos</h2>
<a class="anchor" id="aad0c1448c37f744209ffb671f1bd0015"></a><!-- doxytag: member="GraphViewer::addEdge" ref="aad0c1448c37f744209ffb671f1bd0015" args="(int id, int v1, int v2, int edgeType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::addEdge </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>v2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>edgeType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00098">98</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

<p>Referenciado por <a class="el" href="_empresa_8cpp_source.html#l00421">Empresa::algoritmo1()</a>.</p>

</div>
</div>
<a class="anchor" id="a5421e86ac76433876309236ba96e70a2"></a><!-- doxytag: member="GraphViewer::addNode" ref="a5421e86ac76433876309236ba96e70a2" args="(int id, int x, int y)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::addNode </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00091">91</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

<p>Referenciado por <a class="el" href="_empresa_8cpp_source.html#l00421">Empresa::algoritmo1()</a>.</p>

</div>
</div>
<a class="anchor" id="ab9be856eb5f45284719a3bb119ec01ea"></a><!-- doxytag: member="GraphViewer::addNode" ref="ab9be856eb5f45284719a3bb119ec01ea" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::addNode </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00084">84</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

</div>
</div>
<a class="anchor" id="a85990c1eaac7feed3950960d4bd2fd4c"></a><!-- doxytag: member="GraphViewer::closeWindow" ref="a85990c1eaac7feed3950960d4bd2fd4c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::closeWindow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00077">77</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

</div>
</div>
<a class="anchor" id="ae5247dc66449dcd21fc5d531bbbaddfa"></a><!-- doxytag: member="GraphViewer::createWindow" ref="ae5247dc66449dcd21fc5d531bbbaddfa" args="(int width, int height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::createWindow </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00070">70</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

<p>Referenciado por <a class="el" href="_empresa_8cpp_source.html#l00421">Empresa::algoritmo1()</a>.</p>

</div>
</div>
<a class="anchor" id="a4102580b69826ba83251ef7bb262f8be"></a><!-- doxytag: member="GraphViewer::defineEdgeColor" ref="a4102580b69826ba83251ef7bb262f8be" args="(string color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::defineEdgeColor </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>color</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00119">119</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

<p>Referenciado por <a class="el" href="_empresa_8cpp_source.html#l00421">Empresa::algoritmo1()</a>.</p>

</div>
</div>
<a class="anchor" id="a76de8676b7a93d72af514b84cdaa4d21"></a><!-- doxytag: member="GraphViewer::defineVertexColor" ref="a76de8676b7a93d72af514b84cdaa4d21" args="(string color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::defineVertexColor </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>color</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00155">155</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

<p>Referenciado por <a class="el" href="_empresa_8cpp_source.html#l00421">Empresa::algoritmo1()</a>.</p>

</div>
</div>
<a class="anchor" id="a3009a66958686ccb7e78b68e37c3c423"></a><!-- doxytag: member="GraphViewer::rearrange" ref="a3009a66958686ccb7e78b68e37c3c423" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::rearrange </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00176">176</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

<p>Referenciado por <a class="el" href="_empresa_8cpp_source.html#l00421">Empresa::algoritmo1()</a>.</p>

</div>
</div>
<a class="anchor" id="a9a8ee68c7c12b373affbe4069dd95d72"></a><!-- doxytag: member="GraphViewer::removeEdge" ref="a9a8ee68c7c12b373affbe4069dd95d72" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::removeEdge </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00133">133</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

</div>
</div>
<a class="anchor" id="a0c418639bb911eb827cabf895915f775"></a><!-- doxytag: member="GraphViewer::removeNode" ref="a0c418639bb911eb827cabf895915f775" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::removeNode </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00126">126</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

</div>
</div>
<a class="anchor" id="a02437b5fecd8b90de24436068312d593"></a><!-- doxytag: member="GraphViewer::setBackground" ref="a02437b5fecd8b90de24436068312d593" args="(string path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::setBackground </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00169">169</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

<p>Referenciado por <a class="el" href="_empresa_8cpp_source.html#l00421">Empresa::algoritmo1()</a>.</p>

</div>
</div>
<a class="anchor" id="a07ccc96707efae4aa5f3ced3dca015af"></a><!-- doxytag: member="GraphViewer::setEdgeColor" ref="a07ccc96707efae4aa5f3ced3dca015af" args="(int id, string color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::setEdgeColor </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00140">140</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

</div>
</div>
<a class="anchor" id="a447cca0064e785654c2105602c2961ca"></a><!-- doxytag: member="GraphViewer::setEdgeLabel" ref="a447cca0064e785654c2105602c2961ca" args="(int id, string label)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::setEdgeLabel </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>label</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00105">105</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

</div>
</div>
<a class="anchor" id="a07f598272fe3515455eab13be749604a"></a><!-- doxytag: member="GraphViewer::setEdgeThickness" ref="a07f598272fe3515455eab13be749604a" args="(int id, int thickness)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::setEdgeThickness </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>thickness</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00147">147</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

</div>
</div>
<a class="anchor" id="a8b542d7e09e81a45a74760c19233beb0"></a><!-- doxytag: member="GraphViewer::setVertexColor" ref="a8b542d7e09e81a45a74760c19233beb0" args="(int id, string color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::setVertexColor </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00162">162</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

</div>
</div>
<a class="anchor" id="ac25d7d007022fda16799808ba136e909"></a><!-- doxytag: member="GraphViewer::setVertexLabel" ref="ac25d7d007022fda16799808ba136e909" args="(int id, string label)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GraphViewer::setVertexLabel </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>label</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8cpp_source.html#l00112">112</a> do ficheiro <a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a>.</p>

<p>Referências <a class="el" href="graphviewer_8h_source.html#l00060">con</a> e <a class="el" href="connection_8cpp_source.html#l00063">Connection::sendMsg()</a>.</p>

</div>
</div>
<hr/><h2>Documentação dos dados membro</h2>
<a class="anchor" id="a14a206f78c242e739e0908b06070ba4d"></a><!-- doxytag: member="GraphViewer::con" ref="a14a206f78c242e739e0908b06070ba4d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_connection.html">Connection</a>* <a class="el" href="class_graph_viewer.html#a14a206f78c242e739e0908b06070ba4d">GraphViewer::con</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8h_source.html#l00060">60</a> do ficheiro <a class="el" href="graphviewer_8h_source.html">graphviewer.h</a>.</p>

<p>Referenciado por <a class="el" href="graphviewer_8cpp_source.html#l00098">addEdge()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00084">addNode()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00077">closeWindow()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00070">createWindow()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00119">defineEdgeColor()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00155">defineVertexColor()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00013">GraphViewer()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00176">rearrange()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00133">removeEdge()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00126">removeNode()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00169">setBackground()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00140">setEdgeColor()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00105">setEdgeLabel()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00147">setEdgeThickness()</a>, <a class="el" href="graphviewer_8cpp_source.html#l00162">setVertexColor()</a> e <a class="el" href="graphviewer_8cpp_source.html#l00112">setVertexLabel()</a>.</p>

</div>
</div>
<a class="anchor" id="a9a1000e492a66ac4301c7135275690da"></a><!-- doxytag: member="GraphViewer::height" ref="a9a1000e492a66ac4301c7135275690da" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_graph_viewer.html#a9a1000e492a66ac4301c7135275690da">GraphViewer::height</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8h_source.html#l00057">57</a> do ficheiro <a class="el" href="graphviewer_8h_source.html">graphviewer.h</a>.</p>

<p>Referenciado por <a class="el" href="graphviewer_8cpp_source.html#l00013">GraphViewer()</a>.</p>

</div>
</div>
<a class="anchor" id="a9d9947154bc63354c6d02a0680aad952"></a><!-- doxytag: member="GraphViewer::isDynamic" ref="a9d9947154bc63354c6d02a0680aad952" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_graph_viewer.html#a9d9947154bc63354c6d02a0680aad952">GraphViewer::isDynamic</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8h_source.html#l00058">58</a> do ficheiro <a class="el" href="graphviewer_8h_source.html">graphviewer.h</a>.</p>

<p>Referenciado por <a class="el" href="graphviewer_8cpp_source.html#l00013">GraphViewer()</a>.</p>

</div>
</div>
<a class="anchor" id="a5de27a1d20968b8494cd4bf5a4eb27e1"></a><!-- doxytag: member="GraphViewer::width" ref="a5de27a1d20968b8494cd4bf5a4eb27e1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_graph_viewer.html#a5de27a1d20968b8494cd4bf5a4eb27e1">GraphViewer::width</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definido na linha <a class="el" href="graphviewer_8h_source.html#l00057">57</a> do ficheiro <a class="el" href="graphviewer_8h_source.html">graphviewer.h</a>.</p>

<p>Referenciado por <a class="el" href="graphviewer_8cpp_source.html#l00013">GraphViewer()</a>.</p>

</div>
</div>
<hr/>A documentação para esta classe foi gerada a partir dos seguintes ficheiros:<ul>
<li>C:/Users/Paulo/Documents/FEUP/EclipseWorkSpace/calgrafos/src/<a class="el" href="graphviewer_8h_source.html">graphviewer.h</a></li>
<li>C:/Users/Paulo/Documents/FEUP/EclipseWorkSpace/calgrafos/src/<a class="el" href="graphviewer_8cpp_source.html">graphviewer.cpp</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_graph_viewer.html">GraphViewer</a>      </li>
      <li class="footer">Gerado em Fri May 13 2011 02:00:27 para Grupo12daturma2MIEIC4 por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tudo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Ficheiros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funções</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variáveis</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Amigos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


</body>
</html>
